Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-903 | GEN001520 | SV-37168r1_rule | ECLP-1 | Medium |
Description |
---|
If the Group Identifier (GID) of the home directory is not the same as the GID of the user, this would allow unauthorized access to files. |
STIG | Date |
---|---|
Red Hat Enterprise Linux 5 Security Technical Implementation Guide | 2016-12-16 |
Check Text ( C-37527r2_chk ) |
---|
Check the group ownership for each user in the /etc/passwd file. Procedure: # cut -d : -f 6 /etc/passwd | xargs -n1 ls -ld If any user home directory is not group-owned by the assigned user's primary group, this is a finding. Home directories for application accounts requiring different group ownership must be documented using site-defined procedures. |
Fix Text (F-32773r1_fix) |
---|
Change the group-owner for user home directories to the primary group of the assigned user. Procedure: Find the primary group of the user (GID) which is the fourth field of the user entry in /etc/passwd. # chgrp Document all changes. |